<h2>User Accounts</h2>
<g:if test="${flash.notice}">
	${flash.notice}
</g:if>
<g:if test="${flash.error}">
	${flash.error}
</g:if>
<table border="2">
	<tr>
	<th>  ID</th>
		<th>User Name</th>

		<th>Password</th>
		
		<th>email</th>

	</tr>
	<g:each in="${userClass}">
		<tr>
			<td><g:link action="show" id="${it.id}">
					${it.id}
				</g:link></td>
			<td>
				${it.userName}
			</td>
			<td>
				${it.passwrd}
			</td>
		     <td>
				${it.email}
			</td>
			<td>
			<g:link action="delete" id="${it.id}">Delete</g:link>
			</td>
			<td><g:link action="edit" id="${it.id}">Edit</g:link> </td>
		</tr>
	</g:each>
	
</table>
<g:link action="create" id="${it.id}">Create</g:link>

<g:link action="index" params="[max: max, start:start-max]"> Previous </g:link>
<g:link action="index" params="[max: max, start:start+max]"> Next </g:link><br>